#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
 
from asyncore import dispatcher
import sys, time, socket
 
class Server( dispatcher ):
  def __init__(self):
    dispatcher.__init__(self)
    self.create_socket( socket.AF_INET, socket.SOCK_STREAM )
    self.bind( ( '', 50000 ) )
    self.listen(1)
 
try:
  Server()
except:
 
  sys.exit()
 